home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
src
/
alib
/
amigalib
/
newlist.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-02-18
|
377b
|
26 lines
/*
* NewList.C
*
*/
#include <exec/types.h>
#include <exec/lists.h>
#ifdef INCLUDE_VERSION /* 2.0 */
#include <clib/alib_protos.h>
#endif
#ifndef HYPER
#define HYPER
#endif
void
HYPER ## NewList(list)
struct List *list;
{
list->lh_Head = (struct Node *)&list->lh_Tail;
list->lh_Tail = NULL;
list->lh_TailPred = (struct Node *)&list->lh_Head;
}